<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CompareValidatorForValuePage.aspx.cs" Inherits="CompareValidatorForValuePage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table style="width: 406px">
            <tr>
                <td style="width: 569px">
                    Please enter what you see:
                </td>
            </tr>
            <tr>
                <td style="width: 569px">
                    &nbsp;<asp:Image ID="Image1" runat="server" /></td>
            </tr>
            <tr>
                <td style="width: 569px">
                    Protect code:
                    <asp:TextBox ID="txtProtectCode" runat="server" Width="129px"></asp:TextBox>
                    <asp:CompareValidator ID="CompareValidator1" runat="server" ErrorMessage="Please re-enter protect code" ControlToValidate="txtProtectCode" ValueToCompare="Khang"></asp:CompareValidator></td>
            </tr>
            <tr>
                <td style="width: 569px">
                    <asp:Button ID="Button1" runat="server" Text="OK" Width="60px" /></td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
